module events {

    export class GameFinishEvent extends egret.Event {

        public static readonly FINISH_GAME: string = "GameFinishEvent_GameFinish";

        public level: number;

        public score: number;

        public constructor(score: number, level: number) {
            super(GameFinishEvent.FINISH_GAME);
            this.level = level;
            this.score = score;

            console.log(this.score)
            console.log(this.level)
        }

    }

}